From e19dfb399426c1e5f5dd8f7b5730c06731c2fef6 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 26 May 2010 07:48:09 +0100 Subject: [PATCH] cpupool: Clean up unused prorotype and duplicate trace call. Signed-off-by: Juergen Gross --- xen/common/schedule.c | 4 ---- xen/include/xen/sched.h | 1 - 2 files changed, 5 deletions(-) diff --git a/xen/common/schedule.c b/xen/common/schedule.c index f93dc51276..60e630dc49 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -1011,10 +1011,6 @@ static void schedule(void) update_vcpu_system_time(next); vcpu_periodic_timer_work(next); - TRACE_4D(TRC_SCHED_SWITCH, - prev->domain->domain_id, prev->vcpu_id, - next->domain->domain_id, next->vcpu_id); - context_switch(prev, next); } diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 2b86b91c67..9025980dbf 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -622,7 +622,6 @@ extern enum cpufreq_controller { struct cpupool *cpupool_create(int poolid, char *sched); int cpupool_destroy(struct cpupool *c); -int cpupool_assign_ncpu(struct cpupool *c, int ncpu); int cpupool_add_domain(struct domain *d, int poolid); void cpupool_rm_domain(struct domain *d); int cpupool_do_sysctl(struct xen_sysctl_cpupool_op *op); -- 2.30.2